<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>map</title>
</head>
<body>
    <script type="text/javascript">
        let arr=[1,3,5,7,9]
        let result=  arr.map(num=>{
            return num +1
        })
        console.log(arr)
    </script>
</body>
</html>